Skip to content

feat: add style to pin column#279

Merged
saenyakorn merged 2 commits into
softnetics:mainfrom
PondC:pondc/sticky-table
Nov 13, 2025
Merged

feat: add style to pin column#279
saenyakorn merged 2 commits into
softnetics:mainfrom
PondC:pondc/sticky-table

Conversation

@PondC
Copy link
Copy Markdown
Contributor

@PondC PondC commented Nov 11, 2025

No description provided.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Nov 11, 2025

🦋 Changeset detected

Latest commit: 873044a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 8 packages
Name Type
@genseki/react Patch
@example/erp Patch
@example/ui-playground Patch
@genseki/next Patch
@genseki/plugins Patch
@genseki/prisma-generator Patch
@genseki/react-query Patch
@genseki/rest Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Comment on lines +52 to +53
isLastLeftPinnedColumn && 'shadow-[inset_-4px_0_4px_-4px_gray]',
isFirstRightPinnedColumn && 'shadow-[inset_4px_0_4px_-4px_gray]'
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't we have shadow token in design token?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only want shadow to be one-sided

Comment thread packages/react/src/react/components/primitives/tanstack-table.tsx Outdated
Comment thread packages/react/src/react/components/primitives/tanstack-table.tsx Outdated
Comment thread packages/react/src/react/components/primitives/tanstack-table.tsx Outdated
Comment on lines +57 to +58
left: isPinned === 'left' ? `${column.getStart('left')}px` : undefined,
right: isPinned === 'right' ? `${column.getAfter('right')}px` : undefined,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check if isPinned. left / right in relative is not working.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

huh

Comment thread packages/react/src/react/components/primitives/tanstack-table.tsx Outdated
@saenyakorn
Copy link
Copy Markdown
Member

Don't forget to add changeset

@PondC PondC requested a review from saenyakorn November 13, 2025 03:33
@PondC PondC marked this pull request as ready for review November 13, 2025 06:25
@saenyakorn saenyakorn merged commit dd29e95 into softnetics:main Nov 13, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants